package cn.tedu.Riview;

import java.io.*;

public class Testio {
    public static void main(String[] args) {
        f1();
        f2();
    }

    private static void f2() {

        try {
            //字符输入流
            FileReader in1=new FileReader("");
            FileReader in2=new FileReader(new File(""));
            BufferedReader in3=new BufferedReader(new FileReader(""));
            BufferedReader in4=new BufferedReader(new FileReader(new File("")));

            //字符输出流
            FileWriter out1=new FileWriter("");
            FileWriter out2=new FileWriter(new File(""));
            FileWriter out3=new FileWriter("",true);
            FileWriter out4=new FileWriter(new File(""),true);
            BufferedWriter out5=new BufferedWriter(new FileWriter(""));
            BufferedWriter out6=new BufferedWriter(new FileWriter(new File("")));
            BufferedWriter out7=new BufferedWriter(new FileWriter("",true));
            BufferedWriter out8=new BufferedWriter(new FileWriter(new File(""),true));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private static void f1() {

        try {
            //字节输入流
            FileInputStream in1= new FileInputStream("");
            FileInputStream in2=new FileInputStream(new File(""));
            BufferedInputStream in3=new BufferedInputStream(new FileInputStream(""));
            BufferedInputStream in4=new BufferedInputStream(new FileInputStream(new File("")));

            //字节输出流
            FileOutputStream out1=new FileOutputStream("");
            FileOutputStream out2=new FileOutputStream(new File(""));
            FileOutputStream out3=new FileOutputStream("",true);
            FileOutputStream out4=new FileOutputStream(new File(""),true);
            BufferedOutputStream out5=new BufferedOutputStream(new FileOutputStream(""));
            BufferedOutputStream out6=new BufferedOutputStream(new FileOutputStream(new File("")));
            BufferedOutputStream out7=new BufferedOutputStream(new FileOutputStream("",true));
            BufferedOutputStream out8=new BufferedOutputStream(new FileOutputStream(new File(""),true));



        }catch (Exception e){
            e.printStackTrace();
        }finally {

        }
    }
}
